home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
rdb
/
proto
/
scsidevs_protos.h
< prev
Wrap
C/C++ Source or Header
|
1996-02-04
|
1KB
|
93 lines
/* Prototypes for functions defined in
SCSIDevs.c
*/
extern char inq_buf[2016];
extern UBYTE * ip_buf;
extern UBYTE * scsi_data;
extern UBYTE * scsi_sense;
extern UBYTE * dev_name;
extern MSGPORT * mp_ptr;
extern IOSTDREQ * io_ptr;
extern SCSICMD scsi_cmd;
extern int scsi_id;
extern int on_off;
extern UBYTE buffer[128];
extern int secno;
extern int open_cnt;
extern BOOL scsi_devs[8];
extern int scsi_devs_type[8];
extern char x_buf[8192];
extern char buf_rdsk[2048];
extern char buf_part[2048];
extern ULONG next_part_block;
extern RIGIDDISKBLOCK * p_rdb;
extern char p_buf[256];
extern int part_no;
extern BOOL raw_flag;
extern char hdr_rdb[200];
extern char fmt_rdb[100];
extern char hdr_dev[200];
extern char fmt_dev[100];
void main(int , char ** );
int check_scsi_devices(void);
RET_VAL get_scsi_info(int );
void print_Part_info(PARTITIONBLOCK * );
BOOLEAN init(void);
BOOL read_sec_scsi(char * , int , int );
UBYTE * GetDevName(char * );
UBYTE * err_str(int );
UBYTE * sense_errs(int );
BOOL checksum(LONG * , int );
void hexit(int );
void usage(char * );
char * b2Cstr(char * );
char * mkCstr(char * , int );
void inquiry(char * );
char * id2string(int , IDTOSTRING * );
int DoScsiCmd(UBYTE * , int , UBYTE * , int , UBYTE );